
<div class="app-content-body ">

  <div class="bg-light lter b-b wrapper-md hidden-print">
    <h1 class="m-n font-thin h3">售货机管理</h1>
  </div>

  <div>
    <div class="crud-container crud-reset">
        <div class="row">
            <div class="col-sm-12">
                <div class="crud-buttons">
                    <div dx-toggle="button" dx-options='{"type": "default"}'>数据同步</div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12">
                <div class="data_list"></div>
            </div>
        </div>
    </div>
  </div>
</div>
<script>
	$(function(){
		$(".crud-container").crud({
      url: API("subjects"),
	
      columns: [{
      	dataField: 'subject_type_id',
        caption: '售货机编号'
      },{
        dataField: 'name',
        caption: '售货机名称'
      }, {
        dataField: 'id',
        caption: '所属区域'
      }, {
        dataField: 'id',
        caption: '更新时间'
      }]
    });
	})
</script>